/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Caio Valentim
 */
public class Book extends LibraryItem {

    private String autor;
    private String titulo;
    private int num;
    public Book(String autor, String titulo, int numCopia) {
        this.autor = autor;
        this.titulo = titulo;
        this.num=numCopia;
    }

    @Override
    public void Display() {
        System.out.println("\nBook ------ ");
        System.out.println(" Author: {0}"+ autor);
        System.out.println(" Title: {0}"+ titulo);
        System.out.println(" # Copies: {0}"+ this.NumCopies());
    }
}
